package com.hue.springbootshiro.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/user")
public class UsersController {
    @GetMapping("add")
    public String add() {
        return "/user/add";
    }

    @GetMapping("update")
    public String update() {
        return "/user/update";
    }

    @GetMapping("authorized")
    public String authorized(){
        return "/user/authorized";
    }
}
